﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Y2015CS68APPS.OOP.EXCERCISES.EX01
{
    class CONTROLLERS
    {
        private MODELS m_objModels;

        public CONTROLLERS()
        {
            m_objModels = new MODELS();
        }

        /// <summary>
        /// Nghiệp vụ kiểm tra thông tin tài khoản
        /// </summary>
        /// <param name="objEntity"></param>
        /// <returns>True or False</returns>
        public bool CheckUserInfor(USERENTITY objEntity)
        {
            return m_objModels.CheckUser(objEntity);
        }
    }
}
